<template>
	<view class="newsDetail">
		<view class="newsDetail_Title">
			{{title}}
		</view>
		<view class="newsDetail_context">
			{{context}}
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:'',
				context:''
			};
		},
		onLoad(option){
			console.log(option)
			this.title = option.title
			this.context = option.context
		}
	}
</script>

<style lang="less">
	.newsDetail{
		width: 94%;
		margin: 1rem auto;
		.newsDetail_Title{
			font-size: 1.8rem;
			padding: 1rem 0;
			border-bottom: 1px solid #999;
			margin-bottom:1rem ;
		}
		.newsDetail_context{
			font-size: 1rem;
			color: #333;
		}
	}
</style>
